package mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengshx
 * @since 2021-01-30
 */
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账户taken
     */
    private String token;

    /**
     * 用户名
     */
    private String name;

    /**
     * 现在读到的小说
     */
    private Integer nowBook;

    /**
     * 现在读到的小说到哪一页了
     */
    private Integer nowBookPage;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNowBook() {
        return nowBook;
    }

    public void setNowBook(Integer nowBook) {
        this.nowBook = nowBook;
    }

    public Integer getNowBookPage() {
        return nowBookPage;
    }

    public void setNowBookPage(Integer nowBookPage) {
        this.nowBookPage = nowBookPage;
    }

    @Override
    public String toString() {
        return "Account{" +
        "id=" + id +
        ", token=" + token +
        ", name=" + name +
        ", nowBook=" + nowBook +
        ", nowBookPage=" + nowBookPage +
        "}";
    }
}
